Skip to content

fix(test): stabilize flaky StackTrace URL link tooltip test#111900

Closed
JoshuaKGoldberg wants to merge 1 commit intomasterfrom
fix/flaky-stack-trace-spec
Closed

fix(test): stabilize flaky StackTrace URL link tooltip test#111900
JoshuaKGoldberg wants to merge 1 commit intomasterfrom
fix/flaky-stack-trace-spec

Conversation

@JoshuaKGoldberg
Copy link
Copy Markdown
Member

@JoshuaKGoldberg JoshuaKGoldberg commented Mar 31, 2026

The last test in the file calls jest.useRealTimers() before its final expect(await ...) assertion. Other tests in the file call that after the final assertion. It looks like tooltip transitions can still be chugging along internally when the machine is slow, so swapping timers mid-way through them cause flake.

Note that CI Jest tests are failing because the Frontend: Rerun Flaky Tests Known flaky tests should be run many times, just to be safe. label is causing other, still-flaky tests to be run. No longer applicable now that this is targeting master and #111860 is not yet merged.

Fixes ENG-7192

Made with Cursor

@JoshuaKGoldberg JoshuaKGoldberg added Scope: Frontend Automatically applied to PRs that change frontend components Frontend: Rerun Flaky Tests Known flaky tests should be run many times, just to be safe. labels Mar 31, 2026
@linear-code
Copy link
Copy Markdown

linear-code bot commented Mar 31, 2026

@JoshuaKGoldberg JoshuaKGoldberg changed the title fix(test): Fix flaky StackTrace URL link tooltip test fix(test): stabilize flaky StackTrace URL link tooltip test Mar 31, 2026
@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as ready for review March 31, 2026 17:46
@JoshuaKGoldberg JoshuaKGoldberg requested a review from a team as a code owner March 31, 2026 17:46
@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as draft April 7, 2026 14:09
@JoshuaKGoldberg JoshuaKGoldberg changed the base branch from fix/flaky-test-rerun-infra to master April 7, 2026 14:09
@JoshuaKGoldberg JoshuaKGoldberg force-pushed the fix/flaky-stack-trace-spec branch from 1f1f5cc to 9a29b51 Compare April 7, 2026 14:14
@JoshuaKGoldberg JoshuaKGoldberg removed the Frontend: Rerun Flaky Tests Known flaky tests should be run many times, just to be safe. label Apr 7, 2026
@JoshuaKGoldberg JoshuaKGoldberg removed the request for review from a team April 7, 2026 14:19
@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as ready for review April 7, 2026 14:30
@JoshuaKGoldberg JoshuaKGoldberg requested review from a team and removed request for a team April 7, 2026 14:47
@JoshuaKGoldberg
Copy link
Copy Markdown
Member Author

I suspect this was actually fixed by #112196. Closing out for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant